//
//  TSAddress.m
//  RunningMan
//
//  Created by Seven Lv on 16/1/16.
//  Copyright © 2016年 Toocms. All rights reserved.
//

#import "TSAddress.h"
#import "NSObject+MJKeyValue.h"


@implementation TSAddress

@end


@implementation TSProvince

+ (NSDictionary *)objectClassInArray {
    return @{@"cities" : [TSCity class]};
}

- (NSString *)description {
    return [NSString stringWithFormat:@"provinceName:%@ --- province_id:%@", self.provinceName, self.province_id];
}

@end


@implementation TSCity
+ (NSDictionary *)objectClassInArray {
    return @{@"districts" : [TSDistrict class]};
}
- (NSString *)description {
    return [NSString stringWithFormat:@"cityName:%@ --- city_id:%@", self.cityName, self.city_id];
}
@end


@implementation TSDistrict

- (NSString *)description {
    return [NSString stringWithFormat:@"districtName:%@ --- district_id:%@", self.districtName, self.district_id];
}
@end